package com.dragon.pear.models.params.create;

import java.sql.Timestamp;

/**
 * @author Chris Chan
 * Create on 2025-09-30 22:44
 * Use for: 收藏夹 数据创建参数
 * Explain:
 * 
 */
public class TradeGoodsFavoritesCreateParam {
    // ID
    private long id;
    // 用户账号
    private long accountCode;
    // 商品编码
    private long code;
    // 收藏时间
    private long time;

    // 无参构造方法
    public TradeGoodsFavoritesCreateParam() {
    }

    // 全参数构造方法
    public TradeGoodsFavoritesCreateParam(long id, long accountCode, long code, long time) {
        this.id = id;
        this.accountCode = accountCode;
        this.code = code;
        this.time = time;
    }

    // 全参数create生成器
    public static TradeGoodsFavoritesCreateParam create(long id, long accountCode, long code, long time) {
        return new TradeGoodsFavoritesCreateParam(id, accountCode, code, time);
    }

    // 全参数of生成器
    public static TradeGoodsFavoritesCreateParam of(long id, long accountCode, long code, long time) {
        return new TradeGoodsFavoritesCreateParam(id, accountCode, code, time);
    }
    // region Getter和Setter方法
    public long getId() {
        return id;
    }

    public TradeGoodsFavoritesCreateParam setId(long id) {
        this.id = id;
        return this;
    }

    public long getAccountCode() {
        return accountCode;
    }

    public TradeGoodsFavoritesCreateParam setAccountCode(long accountCode) {
        this.accountCode = accountCode;
        return this;
    }

    public long getCode() {
        return code;
    }

    public TradeGoodsFavoritesCreateParam setCode(long code) {
        this.code = code;
        return this;
    }

    public long getTime() {
        return time;
    }

    public TradeGoodsFavoritesCreateParam setTime(long time) {
        this.time = time;
        return this;
    }

    // endregion Getter和Setter方法
}
